//
//  ZYRegisterView.h
//  YiLin
//
//  Created by Zyark on 2018/5/29.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZYRegisterView;
@protocol ZYRegisterViewDelegate <NSObject>
-(void)registerView:(ZYRegisterView *)registerView doRegister:(id)button;
-(void)registerView:(ZYRegisterView *)registerView doGetCode:(id)button;
@end
@interface ZYRegisterView : UIView
@property(nonatomic,weak)id<ZYRegisterViewDelegate> delegate;


/**
 获取用户名
 @return 用户名
 */
-(NSString *)getUsername;


/**
 获取密码
 @return 密码
 */
-(NSString *)getPassword;


/**
 获取确认密码
 @return 确认密码
 */
-(NSString *)getRePassword;


/**
 获取验证码
 @return 验证码
 */
-(NSString *)getCode;

/**
 初始化标题
 */
-(void)setupTitle;
@end
